﻿@using SlamDunk.CMS.BLL
@using SlamDunk.CMS.Model
@using SlamDunk.CMS.Model.DataModel
@{
    LinkBll linkBll = new LinkBll();
    //校内常用站点
    List<Link> schLinkList = linkBll.GetModelList(3);
    //部门院系导航
    List<Link> depLinkList = linkBll.GetModelList(4);
    //其他常用链接
    List<Link> othLinkList = linkBll.GetModelList(5);
    //二维码图片
    Link qrCode = linkBll.GetModelList(10).FirstOrDefault() == null ? new Link() : linkBll.GetModelList(10).FirstOrDefault();
}
<div class="Bottom">
    <div class="Bottom_con">
        <span class="Bottom_con1"></span>
        <ul class="Bottom_con2">
            <li>Copyright◎2012 哈尔滨工业大学管理学院版权所有 All rights reserved</li>
            <li>地址哈尔滨南岗区一匡街2号哈工大科学技术园2H栋141室　　E_mail:embazx@hit.edu.cn</li>
            <li>电话:0451-86402839　86403510　　传真:0451-86402839</li>
            <li>技术支持：哈尔滨银河天鼎科技开发有限公司</li>
        </ul>
        <ul class="Bottom_con3">
            <li>
                <select size="1" class="Bottom_con3_xz">
                    <option value="javascript:void(0);" selected="selected">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;== 校内常用站点 ==</option>
                    @foreach (Link link in schLinkList)
                    {
                        <option value="@link.Url">@link.LinkName</option>
                    }
                </select>
            </li>
            <li>
                <select size="1" class="Bottom_con3_xz">
                    <option value="javascript:void(0);" selected="selected">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;== 部门院系导航 ==</option>
                    @foreach (Link link in depLinkList)
                    {
                        <option value="@link.Url">@link.LinkName</option>
                    }
                </select>
            </li>
            <li>
                <select size="1" class="Bottom_con3_xz">
                    <option value="javascript:void(0);" selected="selected">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;== 其他常用链接 ==</option>
                    @foreach (Link link in othLinkList)
                    {
                        <option value="@link.Url">@link.LinkName</option>
                    }
                </select>
            </li>
        </ul>
        <script type="text/javascript">
            $('.Bottom_con3_xz').change(function () {
                window.location.href = $(this).val();
            });
        </script>
        <span class="Bottom_con4" style="background:url(@qrCode.ImagePath) no-repeat;"></span>
        <div class="clear"></div>
    </div>
</div>
